package com.jojo.jojoWorld.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jojo.jojoWorld.entity.Jojo;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * JojoService
 *
 * @author byc
 * @date 2021-09-22
 */
public interface JojoService extends IService<Jojo>{

    List<Jojo> findAll();

    @Transactional(rollbackFor = Exception.class)
    void delFlag(int[] ids);

    @Transactional(rollbackFor = Exception.class)
    void del(int id);
}
